package com.wangqingbo.myspringbootproject.jdbc;

/**
 * 模拟一个数据源，数据源中只获取数据库连接的参数
 * 其他的暂时不做操作
 */
public class MyDataSource {

    // 驱动
    private String driverName;
    // 连接
    private String url;
    // 用户名
    private String username;
    // 密码
    private String password;

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
